package com.zhongwang.mms.module.buy.service;

import com.zhongwang.mms.module.buy.dao.BuyPlanDao;
import com.zhongwang.mms.module.buy.model.ShoppingPlanChangeModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 采购管理 -> 计划变更查询 Service
 *
 * @Author: China.sgl
 * @Date: 2020/4/7 16:25
 */
@SuppressWarnings("ALL")
@Service
public class PlanChangeQueryService {

    @Autowired
    private BuyPlanDao buyPlanDao;

    /**
     * 根据条件查询计划变更列表
     *
     * @param shoppingPlanChangeModel 条件
     * @return list
     */
    public List<ShoppingPlanChangeModel> findPlanChangeByQuery(ShoppingPlanChangeModel shoppingPlanChangeModel) {
        return buyPlanDao.findPlanChangeQueryList(shoppingPlanChangeModel);
    }

}
